﻿<%@ Page Title="闫启洪新闻发布系统 --- 按类型分类" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="newstype.aspx.cs" Inherits="newstype" %>

<%@ Register src="UControl/UCleft.ascx" tagname="UCleft" tagprefix="uc1" %>

<%@ Register src="UControl/leftmenu.ascx" tagname="leftmenu" tagprefix="uc2" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table width="991" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="200"><uc2:leftmenu ID="leftmenu1" runat="server" /></td>
    <td rowspan="2" valign="top"><br />
     <asp:Repeater ID="rpttypelist" runat="server" 
            onitemcommand="rpttypelist_ItemCommand">
        <ItemTemplate>
        <table >
        <tr>
        <td width="120px" align="center"><img src="img/img_u.gif" /><%#Eval("tname") %></td><td>
            <asp:LinkButton ID="btncheck" runat="server" CommandName="check" CommandArgument='<%#Eval("nid") %>'><%#Eval("nsubject") %></asp:LinkButton></td><td><%#Eval("ndate") %></td>
        </tr>
        </table>
        </ItemTemplate>
        </asp:Repeater>
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" 
        FirstPageText="第一页" LastPageText="最后一页" NextPageText="下一页" 
        onpagechanged="AspNetPager1_PageChanged" PagingButtonLayoutType="Span" 
        PrevPageText="上一页" ScrollBars="Auto" ShowPageIndex="False" 
        ShowPageIndexBox="Always" PageSize="18">
    </webdiyer:AspNetPager>
      </td>
  </tr>
  <tr>
    <td width="200"><uc1:UCleft ID="UCleft1" runat="server" Bt="热门新闻" /></td>
    </tr>
</table>

</asp:Content>

